package com.tt.vtg.scenario.http.pojo;

public class ResponseEntity {
    private String responseCode;
    private String responseMsg;

    public ResponseEntity(String code, String msg){
        this.responseCode = code;
        this.responseMsg = msg;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMsg() {
        return responseMsg;
    }

    public void setResponseMsg(String responseMsg) {
        this.responseMsg = responseMsg;
    }

    public static ResponseEntity OK(){
        return new ResponseEntity("200", "ok");
    }

    public static ResponseEntity SUCC(){
        return new ResponseEntity("200", "");
    }

    public static ResponseEntity FAILED(){
        return new ResponseEntity("500", "");
    }
}
